package com.hison.tandainbao.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hison.tandainbao.entiy.pojo.domain.TbLocalculture;
import com.hison.tandainbao.entiy.pojo.dto.LocalcultueDto;
import com.hison.tandainbao.response.ResponseResult;
import org.springframework.web.bind.annotation.RequestParam;

/**
* @author hison
* @description 针对表【tb_localculture】的数据库操作Service
* @createDate 2024-03-22 21:36:42
*/
public interface TbLocalcultureService extends IService<TbLocalculture> {

    ResponseResult add(LocalcultueDto localcultueDto);

    ResponseResult getLocalCulture();

    ResponseResult checkLocalCulture(int cultureId, String status);

    ResponseResult getAllCultures(Integer current,  Integer total);

    ResponseResult delete(Integer cultureId);

    ResponseResult saveDraftCulture(TbLocalculture tbLocalculture);

    ResponseResult getMyCulture();

    ResponseResult getMySaveDraftCulture();

    ResponseResult putCulture(Integer cultureId);

    ResponseResult updateCultureInfo(TbLocalculture tbLocalculture);

    ResponseResult deleteCulturesByAdmin(Integer culturesId);

    ResponseResult getCultureInfoByUserName(String userName);
}
